package com.example.zhongshuishi.service;

import com.example.zhongshuishi.entity.PaymentNotifyDTO;
import com.example.zhongshuishi.entity.PaymentOrder;
import com.example.zhongshuishi.entity.StudentDto;

import java.util.List;
import java.util.Map;

public interface PaymentService {
    String createPayment(StudentDto student, String paymentMethod) throws Exception;
    String getAppletUrl(StudentDto student) throws Exception;
    boolean processPaymentNotify(PaymentNotifyDTO notifyDTO);
    Map<String, Object> queryPaymentOrder(String orderId) throws Exception;

    public List<PaymentOrder> selectByIdOrderNo(String stuId,String orderNo,Integer currPage,Integer pageSize);
}